Add a helper function for remote locations
authorMatthias Clasen <mclasen@redhat.com>
Fri, 24 Jul 2015 20:01:25 +0000 (16:01 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 27 Jul 2015 12:07:39 +0000 (08:07 -0400)
commit93bfec3ac525260a4a45b11fd321c43d2ee517fe
tree6d4571d14f0705656cd0f893fce53ee629cb3845
parent30de4cc7bbaa3d36ebfeb761582c9cc987635fc6
Add a helper function for remote locations

Add a helper function that says whether a location should be
considered remote. To determine this, we look at the filesystem
type reported by gvfs, and say 'remote' for sftp, webdav, ftp,
nfs and cifs.
gtk/gtkfilesystem.c
gtk/gtkfilesystem.h